/**
 * 
 */
package br.com.leen.bean;

import java.util.Set;

/**
 * @author Aline
 *
 */
public class Historico {
	
	private Set<Alteracao> alteracoesList;

	public Set<Alteracao> getAlteracoesList() {
		return alteracoesList;
	}

	public void setAlteracoesList(Set<Alteracao> alteracoesList) {
		this.alteracoesList = alteracoesList;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((alteracoesList == null) ? 0 : alteracoesList.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Historico other = (Historico) obj;
		if (alteracoesList == null) {
			if (other.alteracoesList != null)
				return false;
		} else if (!alteracoesList.equals(other.alteracoesList))
			return false;
		return true;
	}
	

}
